local PROMO_COST = 20000

function onSay(cid, words, param, channel)
	local integer vocation = getPlayerVocation(cid)
	if isPremium(cid) then
		if getPlayerMoney(cid) >= PROMO_COST then
			doPlayerRemoveMoney(cid, PROMO_COST)
			
			for i=1,21 do
				doPlayerAddMountEx(cid, i)
			end
			
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have bought a lot of crap (mounts)")
			doPlayerSendOutfitWindow(cid)
			else
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You did not afford to buy this. (" .. PROMO_COST .. " gp)")
			end
		else
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You need a premium account to buy this.")
		end
		return false
	end

local function getPlayerMoney(cid)
	return ((getPlayerItemCount(cid, 2160) * 10000) +
	(getPlayerItemCount(cid, 2152) * 100) +
	getPlayerItemCount(cid, 2148))
end
